﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ERPStudio;
using System.Data.SqlClient;

namespace ResUma
{
    public partial class TipContracteFrm : FrmRezumat
    {
        public TipContracteFrm(ModuleClass mInfo)
            : base(mInfo)
        {
            InitializeComponent();
            workConnString = "ESRPConnectionString";
        }

        private void TipDepartamentFrm_Load(object sender, EventArgs e)
        {
            SqlConnection con = DeschideConexiune(workConnString);
            this.tipContracteTableAdapter.Connection = con;
            this.tipContracteTableAdapter.Fill(this.eSRPDataSet.TipContracte);
            InchideConexiune(con);
        
            this.listBndSourceMain.Add(tipContracteBindingSource);
            listTableAdaptor.Add(this.tipContracteTableAdapter.Adapter);

        }
    }
}
